<head>        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head>
<?php count($getQcReport)==0?$getQcReport=array(1):$getQcReport=$getQcReport; for($i=0;$i<count($getQcReport);$i++):
    $attachment=explode(';',$getQcReport[$i]['attachment']);
    $fault=explode(';',$getQcReport[$i]['fault']);
    $part=explode(';',$getQcReport[$i]['part']);?>
<table border=0 style="width: 595px;height: 1500px;">
    <tr><td align='right'>
            <table border=0><tbody><tr><td align='left'>
                        <p style="margin-bottom:0;text-align:right;line-height:114%">
                            <span style=";font-family:Cambria;font-size:12px">ООО</span><span style=";font-family:&#39;Bell MT&#39;;font-size:12px">&nbsp;</span><span style=";font-family:&#39;Bell MT&#39;;font-size:12px">«</span><span style=";font-family:Cambria;font-size:12px">Пандатехсервис</span><span style=";font-family:&#39;Bell MT&#39;;font-size:12px">»</span>
                        </p>
                        <p style="margin-bottom:0;text-align:right;line-height:114%">
                            <span style=";font-family:&#39;Bell MT&#39;;font-size:12px">111123,&nbsp;</span><span style=";font-family:Cambria;font-size:12px">г</span><span style=";font-family:&#39;Bell MT&#39;;font-size:12px">.&nbsp;</span><span style=";font-family:Cambria;font-size:12px">Москва</span><span style=";font-family:&#39;Bell MT&#39;;font-size:12px">,&nbsp;</span><span style=";font-family:Cambria;font-size:12px">Шоссе</span><span style=";font-family:&#39;Bell MT&#39;;font-size:12px">&nbsp;</span><span style=";font-family:Cambria;font-size:12px">Энтузиастов</span><span style=";font-family:&#39;Bell MT&#39;;font-size:12px">&nbsp;31,&nbsp;</span><span style=";font-family:Cambria;font-size:12px">стр</span><span style=";font-family:&#39;Bell MT&#39;;font-size:12px">.&nbsp;39</span>
                        </p>
                        <p style="margin-bottom:0;text-align:right;line-height:114%">
                            <span style=";font-family:Calibri;font-size:12px">ТЦ&nbsp;31,&nbsp;3&nbsp;этаж&nbsp;по&nbsp;лестнице,&nbsp;офис&nbsp;9</span>
                        </p>
                        <p style="margin-bottom:0;text-align:right;line-height:114%">
                            <span style=";font-family:&#39;Bell MT&#39;;font-size:12px">(495)&nbsp;966&nbsp;03&nbsp;17</span>
                        </p>
                    </td></tr></tbody></table>
        </td></tr>

    <tr><td>
            <table width="100%" border=0>
                <tbody>
                <tr class="firstRow">
                    <td width="354" valign="top" style="padding: 0px 7px;">
                        <p style="margin-bottom:0;line-height:150%">
                            <span style=";font-family:Cambria;font-weight:bold;font-size:16px">Квитанция</span><span style="font-family:&#39;Bell MT&#39;;font-weight:bold;font-size:16px">&nbsp;</span><span style="font-family:&#39;Times New Roman&#39;;font-weight:bold;font-size:16px">№</span><span style="font-family:&#39;Bell MT&#39;;font-weight:bold;font-size:16px">:</span>
                        </p>
                    </td>
                    <td width="321" valign="top" style="padding: 0px 7px;">
                        <p style="margin-bottom:0;text-align:justify;text-justify:inter-ideograph;line-height:150%">
                            <span style=";font-family:Cambria;font-weight:bold;font-size:16px">Дата</span><span style="font-family:&#39;Bell MT&#39;;font-weight:bold;font-size:16px">&nbsp;</span><span style=";font-family:Cambria;font-weight:bold;font-size:16px">приема</span><span style="font-family:&#39;Bell MT&#39;;font-weight:bold;font-size:16px">:</span>
                        </p>
                    </td>

                </tr>
                <tr>
                    <td width="354" valign="top" style="padding: 0px 7px;">
                        <p style="margin-bottom:0">
                            <span style=";font-family:Cambria;font-size:15px">Заказчик</span><span style="font-family:&#39;Bell MT&#39;;font-size:15px">:&nbsp;<u><?=$query['maintain_id']?></u></span></span><span style=";font-family:&#39;Bell MT&#39;;font-size:15px"></span>
                        </p>
                    </td>
                    <td width="324" valign="top" colspan="2" style="padding: 0px 7px;">
                        <p style="margin-bottom:0;line-height:150%">
                            <span style=";font-family:Cambria;font-size:15px">Модель</span><span style=";font-family:&#39;Bell MT&#39;;font-size:15px">:&nbsp;___________________________</span><span style=";font-family:&#39;Bell MT&#39;;font-size:15px"> pru: _________</span>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td width="354" valign="top" style="padding: 0px 7px;">
                        <p style="margin-bottom:0">
                            <span style=";font-family:Cambria;font-size:15px">Тел</span><span style=";font-family:&#39;Bell MT&#39;;font-size:15px">.:</span><span style=";font-family:&#39;Bell MT&#39;;font-size:15px">&nbsp;<u><?=$query['consumer_phone']?></u></span>
                        </p>
                    </td>
                    <td width="324" valign="top" colspan="2" style="padding: 0px 7px;">
                        <p style="margin-bottom:0;line-height:150%">
                            <span style=";font-family:&#39;Bell MT&#39;;font-size:15px">IMEI:<u><?=$query['lent_imei']?></u></span>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td width="354" valign="top" style="padding: 0px 7px;">
                        <p style="margin-bottom:0">
                            <span style=";font-family:Cambria;font-size:15px">Адрес：&nbsp;</span><span style=";font-family:Cambria;font-size:15px"><u><?=$query['consumer_address']?></u></span>
                        </p>
                    </td>
                    <td width="324" valign="top" colspan="2" style="padding: 0px 7px;">
                        <p style="margin-bottom:0;line-height:150%">
                            <span style=";font-family:Cambria;font-size:15px">Дата</span><span style="font-family:&#39;Bell MT&#39;;font-size:15px">&nbsp;</span><span style=";font-family:Cambria;font-size:15px">покупки</span><span style="font-family:&#39;Bell MT&#39;;font-size:15px">: </span><span style=";font-family:&#39;Bell MT&#39;;font-size:15px">_____________________</span>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td width="354" valign="top" style="padding: 0px 7px;">
                        <p style="margin-bottom:0">
                            <span style="font-family:&#39;Bell MT&#39;;font-size:15px">e</span><span style="font-family:&#39;Bell MT&#39;;font-size:15px">-</span><span style=";font-family:&#39;Bell MT&#39;;font-size:15px">mail</span><span style="font-family:&#39;Bell MT&#39;;font-size:15px">:</span><span style=";font-family:&#39;Bell MT&#39;;font-size:15px">&nbsp;<u><?=$query['consumer_email']?></u></span>
                        </p>
                    </td>
                    <td width="324" valign="top" colspan="2" style="padding: 0px 7px;">
                        <p style="margin-bottom:0;line-height:150%">
                            <span style=";font-family:Cambria;font-size:15px">Состояние</span><span style="font-family:&#39;Bell MT&#39;;font-size:15px">&nbsp;</span><span style=";font-family:Cambria;font-size:15px">устройства</span><span style="font-family:&#39;Bell MT&#39;;font-size:15px">:</span><span style=";font-family:&#39;Bell MT&#39;;font-size:15px">&nbsp;<u><?=$getQcReport[$i]['damage']?></u></span>
                        </p>
                    </td>
                </tr>
                </tbody>
            </table>
        </td></tr>
    <tr><td>
            <table width="100%" border=0><tbody><tr><td>
                        <p style="margin-left:6px">
                            <span style=";font-family:Cambria;font-size:15px">Комплектация</span><span style=";font-family:&#39;Bell MT&#39;;font-size:15px">:</span>
                        </p>
                    </td></tr>
                <tr class="firstRow">
                    <td width="100" valign="top" style="padding: 0px 7px;" colspan="8">
                        <p style="margin-bottom:8px;text-align:justify;text-justify:inter-ideograph">
                            <br>
                            <?php foreach($attachment as $atta):?>
                                <span style=";font-family:Cambria;font-size:13px"><?=$atta?></span><span style=";font-family:&#39;Bell MT&#39;;font-size:13px">&nbsp;|&nbsp;</span>
                            <?php endforeach ?>
                        </p>
                    </td>

                </tr>
                </tbody>
            </table>
        </td></tr>
    <tr><td>

            <table width="100%" border=0>
                <tbody>
                <tr>
                    <td width="312" valign="top" colspan="4" style="padding: 0px 7px;">
                        <p style="line-height:114%">
                            <span style="font-family: Cambria;font-size: 15px">Описание&nbsp;поломки:</span>
                        </p>
                        <?php foreach($fault as $fa): ?>
                        <p style="line-height:114%">
                            <span style="font-family: Cambria;font-size: 15px"><u><?=$fa?></u></span>
                        </p>
                        <?php endforeach?>
                    </td>
                    <td width="240" valign="top" colspan="3" style="padding: 0px 7px;">
                        <p style="line-height:114%">
                            <span style="font-family: Cambria;font-size: 15px">Наименование&nbsp;услуг:</span>
                        </p>
                        <?php foreach($part as $pa):?>
                        <p style="line-height:114%">
                            <span style="font-family: Cambria;font-size: 15px"><u><?=$pa?></u></span>
                        </p>
                        <?php endforeach?>
                    </td>
                    <td width="125" valign="top" style="padding: 0px 7px;">
                        <p style="line-height:114%">
                            <span style="font-family: Cambria;font-size: 15px">Стоимость:</span>
                        </p>
                        <p style="line-height:114%">
                            <span style="font-family: Cambria;font-size: 15px">____________________</span>
                        </p>
                        <p style="line-height:114%">
                            <span style="font-family: Cambria;font-size: 15px">____________________</span>
                        </p>
                        <p style="line-height:114%">
                            <span style="font-family: Cambria;font-size: 15px">____________________</span>
                        </p>
                    </td>
                </tr>
                </tbody>
            </table>
        </td></tr>
    <tr><td>
            <table width="100%" border=0><tr><td>
                        <p style="margin-left:24px;line-height:114%">
                            <span style="font-family: Cambria;font-weight: bold;font-size: 15px">&nbsp;</span>
                        </p>
                        <p style="margin-left:24px;line-height:114%">
                            <span style="font-family: Cambria;font-weight: bold;font-size: 15px">Дата</span><span style="font-family: &#39;Bell MT&#39;;font-weight: bold;font-size: 15px">&nbsp;</span><span style="font-family: Cambria;font-weight: bold;font-size: 15px">возврата</span><span style="font-family: &#39;Bell MT&#39;;font-weight: bold;font-size: 15px">:</span><span style="font-family: &#39;Bell MT&#39;;font-size: 15px">&nbsp;_____________&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family: Cambria;font-size: 15px">Подпись</span><span style="font-family: &#39;Bell MT&#39;;font-size: 15px">&nbsp;</span><span style="font-family: Cambria;font-size: 15px">клиента</span><span style="font-family: &#39;Bell MT&#39;;font-size: 15px">:&nbsp;__________________</span>
                        </p>
                    </td></tr>
            </table>
        </td></tr>
    <tr><td>
            <table width="100%" border=0><tr><td>
                        <p style="margin-left:24px;line-height:114%">
                            <span style="font-family: Cambria;font-size: 11px">Настоящая</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">&nbsp;</span><span style="font-family: Cambria;font-size: 11px">квитанция</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">&nbsp;</span><span style="font-family: Cambria;font-size: 11px">выписана</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">&nbsp;</span><span style="font-family: Cambria;font-size: 11px">в</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">&nbsp;</span><span style="font-family: Cambria;font-size: 11px">двух</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">&nbsp;</span><span style="font-family: Cambria;font-size: 11px">экземплярах</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">,&nbsp;</span><span style="font-family: Cambria;font-size: 11px">первый</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">&nbsp;</span><span style="font-family: Cambria;font-size: 11px">экземпляр</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">&nbsp;</span><span style="font-family: Cambria;font-size: 11px">находится</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">&nbsp;</span><span style="font-family: Cambria;font-size: 11px">у</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">&nbsp;</span><span style="font-family: Cambria;font-size: 11px">исполнителя</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">,&nbsp;</span><span style="font-family: Cambria;font-size: 11px">второй</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">&nbsp;</span><span style="font-family: Cambria;font-size: 11px">экземпляр</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">&nbsp;</span><span style="font-family: Cambria;font-size: 11px">вручен</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">&nbsp;</span><span style="font-family: Cambria;font-size: 11px">заказчику</span><span style="font-family: &#39;Bell MT&#39;;font-size: 11px">.</span>
                        </p>
                    </td></tr></table>
        </td></tr>
</table>
<?php endfor; ?>